<%@page contentType="text/html;charset=UTF-8" %>
<%@include file="/taglib.jsp" %>
<style>
    header {
    ${_isTest?'background-color:#73A33D':''}
    }
</style>
<h1 class="logo" onclick="location.href='${path}/platform/home'"
    style="cursor: pointer;"></h1>
<div class="navbar-wrapper">
    <!-- 顶部导航 -->
    <div class="navbar-wrapper-top clearfix">
        <ul id="topMenu" class="nav navbar-nav header-navbar-page clearfix">
        </ul>
        <ul class="nav navbar-nav header-navbar-user pull-right">
            <c:if test="${sessionScope._user.account == 'admin' || sessionScope._user.usertype == 4 || sessionScope._user.usertype == 9}">
            <li><a href="#" class="header-navbar-icon"
                   data-toggle="dropdown"> <i class="icon-bell-alt"></i> <span
                    class="label label-badge" id="sum_waring"></span>
            </a>
                <ul class="dropdown-menu dropdown-menu-user cm-pd0" role="menu">
                    <li style="width: 150px"><a href="#" title="未处理投诉工单">未处理投诉工单
                        <span class="label label-badge" id="sum_orderComplaint">0</span>
                    </a></li>
                    <%--<li style="width: 150px"><a href="javascript:void(0);"--%>
                                                <%--title="未派工订单">未派工订单 <span class="label label-badge"--%>
                                                                          <%--id="sum_allOrder">0</span></a></li>--%>
                    <li style="width: 150px"><a href="#" title="未处理投诉">未处理投诉 <span
                            class="label label-badge" id="sum_otherComplaint">0</span></a></li>
                    <li style="width: 150px"><a href="#" data-href="${platform}/order/month/list?status=1" title="未处理商品预约">未处理商品预约 <span
                            class="label label-badge" id="sum_orderGoods">0</span></a></li>
                    <li style="width: 150px"><a href="#" data-href="${platform}/monthorder/appointment/list?status=1" title="未处理包月预约">未处理包月预约 <span
                            class="label label-badge" id="sum_orderMonth">0</span></a></li>
                </ul>
            </li>
            </c:if>
            <!--li>
                <a href="#" class="header-navbar-icon">
                   <i class="icon-envelope-alt"></i>
                   <span class="label label-badge">8</span>
                </a>
             </li-->
            <li class="cm-f14"><a href="#" class="cm-pdr25 clearfix"
                                  data-toggle="dropdown"> <i class="icon-user pull-left"></i><span
                    class="pull-left cm-ml5">${sessionScope._user.account }</span><i
                    class="pull-left icon-chevron-down icon-down"></i>
            </a>
                <ul class="dropdown-menu dropdown-menu-user cm-pd0" role="menu">
                    <!-- li>
                      <a href="#">个人资料</a>
                   </li -->
                    <li><a href="${platform}/profile/changepass" target="_box"
                           title="修改密码" id="change_pwd">修改密码</a></li>
                    <li><a href="${platform}/logout">退&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;出</a>
                    </li>
                </ul>
            </li>
        </ul>
    </div>
    <!-- 登录信息 -->
    <div class="navbar-wrapper-bottom cm-f14">
        <ol class="breadcrumb pull-left" style="padding-left: 15px;">
            <li><a href="${platform }/home">首页</a></li>
            <li><a href="${param.parentUrl}">${param.parentName}</a></li>
            <li class="active">${param.currName}</li>
        </ol>
        <div class="pull-right printWrap">
            <c:if test="${param.hasExport}">
                <c:choose>
                    <c:when test="${param.adminExport}">
                        <c:if test="${sessionScope._user.account=='admin'}">
                            <a href="javascript:void(0);" data-before="${param.ExportValidate}" data-action="export"
                               data-takeparam="true" role="_toExport"><img src="${platform}/images/excel_icon.png"></a>
                        </c:if>
                    </c:when>
                    <c:otherwise>
                        <a href="javascript:void(0);" data-before="${param.ExportValidate}" data-action="export"
                           data-takeparam="true" role="_toExport"><img src="${platform}/images/excel_icon.png"></a>
                    </c:otherwise>
                </c:choose>
            </c:if>
            <c:if test="${param.hasPrint}">
                <a href="javascript:void(0);"><img
                        src="${platform}/images/print_icon.png"></a>
            </c:if>
        </div>
    </div>
</div>